//
//  DowanTableViewCell.m
//  A段项目
//
//  Created by dlios on 15/7/14.
//  Copyright (c) 2015年 dlios. All rights reserved.
//

#import "DowanTableViewCell.h"
#import "BaseHeader.h"

@implementation DowanTableViewCell

- (void)dealloc
{
    [_title release];
//    [_kind release];
    [super dealloc];
}

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    if (self = [super initWithStyle:style reuseIdentifier:reuseIdentifier]) {
        [self createView];
        self.selectionStyle = UITableViewCellSelectionStyleNone;
    }
    return self;
}

- (void)createView
{
    self.title = [[UILabel alloc] initWithFrame:CGRectMake(0, 0, ScreenWidth, 30)];
    _title.backgroundColor = [UIColor colorWithRed:0.9 green:0.9 blue:0.9 alpha:1];
    [self addSubview:_title];
    [_title release];
    
    self.kind = [[UILabel alloc] initWithFrame:CGRectMake(0, 35, ScreenWidth, self.frame.size.height / 3)];
    [self addSubview:_kind];
    [_kind release];
    
}


- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
